package org.tuoren.official.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.tuoren.official.domain.TQrCode;

import java.io.Serial;
import java.io.Serializable;



/**
 * 二维码信息维护视图对象 t_qr_code
 *
 * @author Lion Li
 * @since 2024-11-26
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TQrCode.class)
public class TQrCodeVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 二维码名称
     */
    @ExcelProperty(value = "二维码名称")
    private String name;

    /**
     * 二维码地址
     */
    @ExcelProperty(value = "二维码地址")
    private String qrCodeUrl;

    /**
     * 菜单id，为空时默认显示在页面底部
     */
    @ExcelProperty(value = "菜单id，为0时默认显示在页面底部")
    private Long menuId;
    /**
     * 适用平台
     */
    @ExcelProperty(value = "适用平台")
    private String plat;
    /**
     * 图标
     */
    @ExcelProperty(value = "图标")
    private String bannerUrl;
}
